// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import 'normalize.css'
import '@/styles/index.scss'
import store from './store'
// import i18n from './i18n/i18n'
import './utils/permission'
import './icons/iconfont'
import cookie from 'js-cookie'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import SvgIcon from '@/components/SvgIcon'
// import axios from 'axios'
import './mock'
import request from './utils/request'
import services from '@/api'
Vue.prototype.$services = services
Vue.prototype.$http = request
Vue.prototype.$cookie = cookie
Vue.component('svg-icon', SvgIcon)

Vue.prototype.$cookie = cookie
Vue.use(ElementUI)
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  // i18n,
  components: {
    App
  },
  template: '<App/>'
})
